package com.nnxy.competition.entity;

import lombok.Data;

import java.util.List;

/**
 * 通知
 */
@Data
public class Notification {
    private String notificationId;

    private String notificationContent;

    private Competition competition;

    private Long notificationTime;

    private String notificationTitle;

    private Integer notificationType;

    private Integer notificationState;

    private List<File> files;

    private List<String> userIds;

    //手动录入获奖信息时使用

    public String getNotificationId() {
        return notificationId;
    }

    public void setNotificationId(String notificationId) {
        this.notificationId = notificationId == null ? null : notificationId.trim();
    }

    public String getNotificationContent() {
        return notificationContent;
    }

    public void setNotificationContent(String notificationContent) {
        this.notificationContent = notificationContent == null ? null : notificationContent.trim();
    }

    public String getNotificationTitle() {
        return notificationTitle;
    }

    public void setNotificationTitle(String notificationTitle) {
        this.notificationTitle = notificationTitle == null ? null : notificationTitle.trim();
    }
}